package com.liush.srb.core.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.liush.srb.core.pojo.entity.LendItem;
import com.baomidou.mybatisplus.extension.service.IService;
import com.liush.srb.core.pojo.vo.InvestVO;

import java.util.Map;

/**
 * <p>
 * 标的出借记录表 服务类
 * </p>
 *
 * @author liush
 * @since 2023-03-25
 */
public interface LendItemService extends IService<LendItem> {

    String invest(InvestVO investVO, String token);

    String investNotify(Map<String, Object> map);

    Page<LendItem> investList(String token, Integer pageNum, Integer pageSize);
}
